package com.cari.oa.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Length;
/**
 * Title: ReqType
 * Description:需求类型 
 * Company: cari
 * @author hjx
 * @date 2013-3-11
 */
@Entity
@Table(name = "T_REQ_TYPE")
public class ReqTypeEntity implements Serializable {

    private static final long serialVersionUID = 8775225809962095596L;
    @Id
    @Length(max = 32)
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
	private String id;
    
    @Column(name="NAME")
	private String name;
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
